package com.example.springbootweb.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@Slf4j
public class IndexController {

    /**
     * 健康检查
     */
    @GetMapping("api/health")
    @ResponseBody
    public String index() {
        return "index ...";
    }

}
